﻿@model InformaticaDiaryWeb.Models.SearchPetitionerModel
@{
    ViewBag.Title = "Search by Petitioner";
}

@using (Html.BeginForm())
{
    @Html.AntiForgeryToken()
    @Html.ValidationSummary()
    <fieldset>
        <ul data-role="listview" data-inset="true">
            <li data-role="list-divider">Details</li>
            <li data-role="fieldcontain">
                @Html.LabelFor(m => m.CaseYear)
                @Html.DropDownListFor(x => x.CaseYear, Model.listCaseYear)
            </li>
            <li data-role="fieldcontain">
                @Html.LabelFor(m => m.PetitionerName)
                @Html.TextBoxFor(m => m.PetitionerName)
            </li>
            <li data-role="fieldcontain">
                <input type="submit" value="Search" data-icon="search" />
            </li>
        </ul>
    </fieldset>
}

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}